<%--
  Created by IntelliJ IDEA.
  User: ht
  Date: 2023/3/5
  Time: 10:11
  To change this template use File | Settings | File Templates.
--%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<%@ page language="java" contentType="text/html;charset=UTF-8"
         pageEncoding="UTF-8"%>
<html>
<head>
    <title>For user list</title>
</head>
<body>
<h2>用户列表</h2>
<table border="1">
    <tr>
        <th>编号</th>
        <th>姓名</th>
    </tr>
    <c:forEach items="${list}" var="l">
        <tr>
            <td>${l.id}</td>
            <td>${l.name}</td>
        </tr>
    </c:forEach>
</table>
</body>
</html>
